feat(@clack/prompts): add prompt workflow#139
feat(@clack/prompts): add prompt workflow#139orochaa wants to merge 1 commit intobombshell-dev:mainfrom
workflow#139Conversation
|
Initial thoughts:@Mist3rBru Great Work 🙏🏼 , I actually kinda of like this.. This could be a great addition. I'm just not for sure on the namespace Additional thoughtsI also think, within the next couple of releases -- I want to focus on knocking out a few bugs reported, then exposing each individual Thanks, |
|
I agree, sounds more like an await p.workflow()
.step('name', () => p.text())
.run() |
|
@Mist3rBru I like that. My only questions here
|
|
We can release it, and open a pinned issue like v1.0.0 Roadmap, so people can give their thoughts, and we decide based on it. |
|
I think it is a better API, since it does not deal with inference errors, and is more extensible. |
builderworkflow
|
@Mist3rBru I made some improvements to examples please check this out: de9f5b6 |
|
@cpreston321 commit included. This helps a lot to run the examples! |
5d7433b to
4365f19
Compare
|
Open in Stackblitz • @example/basic • @example/changesets commit: |
Since Typescript has shown a limitation on infer
groupresults, discussed in @chrissantamaria's comment on PR#102, and Issue #131. This functionality presents an alternative for users who favor the builder pattern when dealing with multiple prompts in sequence, serving as either a workaround or an additional choice, while avoid a breaking change.This PR includes:
I am open to discussions on comment's section!
Closes #131
Closes #109